/**
 * @author:李雄
 * @ClassName:MemberInnerClass
 * @Description:成员内部类测试
 * @createTime:2022-08-14 15:38
 */
public class MemberInnerClass {

     public String name;
    //成员内部类
    //访问权限四种
    //不能定义静态成员
    public class InnerClass{
        public String name;
        public InnerClass(String name,String outName){
            //name = name; 内部类变量赋值
            this.name =name;       //内部类变量赋值
            MemberInnerClass.this.name= outName;    //通过内部类给外部类赋值
        }
    }
}
